#ifndef __PWM_H_
#define __PWM_H_

#define CCP_S1  BIT5
#define CCP_S0  BIT4

#define EPC0H	  BIT1
#define EPC0L  	BIT0

typedef struct 
{
  void(*PWM_Init)(void);
  void(*PWM_Objective)(void);
}PWM_t;

extern PWM_t PWM;

static void PWM_Init(void);
static void PWM_Objective(void);
static void PWM_Backup(uint16_t IAP_Addr,uint8_t dat);
static uint8_t PWM_Recover(uint16_t IAP_Addr);

#endif